package com.kunya.product.po;

import java.util.Date;

public class ProductDiscount {
    private Long productDiscountId;

    private Long productId;

    private Double discountRatio;

    private Date createTime;

    private Date startTime;

    private Date endTime;

    private Byte status;

    private String productName;

    private Integer showScore;

    private Long showPrice;

    private Integer stock;

    public ProductDiscount(Long productDiscountId, Long productId, Double discountRatio, Date createTime, Date startTime, Date endTime, Byte status, String productName, Integer showScore, Long showPrice, Integer stock) {
        this.productDiscountId = productDiscountId;
        this.productId = productId;
        this.discountRatio = discountRatio;
        this.createTime = createTime;
        this.startTime = startTime;
        this.endTime = endTime;
        this.status = status;
        this.productName = productName;
        this.showScore = showScore;
        this.showPrice = showPrice;
        this.stock = stock;
    }

    public ProductDiscount() {
        super();
    }

    public Long getProductDiscountId() {
        return productDiscountId;
    }

    public void setProductDiscountId(Long productDiscountId) {
        this.productDiscountId = productDiscountId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Double getDiscountRatio() {
        return discountRatio;
    }

    public void setDiscountRatio(Double discountRatio) {
        this.discountRatio = discountRatio;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Integer getShowScore() {
        return showScore;
    }

    public void setShowScore(Integer showScore) {
        this.showScore = showScore;
    }

    public Long getShowPrice() {
        return showPrice;
    }

    public void setShowPrice(Long showPrice) {
        this.showPrice = showPrice;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
}